package com.njtoyo.taxi.admin.rest.wrapper.business.ride.marking;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Objects;

@Data
@ApiModel(value = "评价列表")
public class RideMarkingWrapper extends Page<RideMarkingWrapper> {
    public RideMarkingWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    @ApiModelProperty(value = "运营区ID")
    private Long cantonId;

    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "运营区ids")
    private List<Long> cantonIds;

    @ApiModelProperty(value = "公司ids")
    private List<Long> companyIds;

    @ApiModelProperty(value = "乘客")
    private String customer;

    @ApiModelProperty(value = "司机")
    private String driver;

    @ApiModelProperty(value = "好评:good  差评:bad")
    private String goodMarking;

    @ApiModelProperty(value = "评分")
    private Integer score;

    private String startDate;
    private String endDate;

}
